package com.xlf.service.ai.service;

import com.xlf.service.ai.pojo.dto.Message;

import java.util.List;

/**
 * @Author xlf 2734029211@qq.com
 * @Date 2024/1/29 19:32
 * @Description: TODO
 * @Version 1.0
 */
public interface MessagesContainer {


    List<Message> getMessagesHistory(String msgId);

    void addMessagesHistory(Message message,String msgId);

    void setMessagesHistory(List<Message> messages,String msgId);

    void cleanMessages(String msgId);

}
